<template>
  <div class="editor-resource">
    <el-tabs v-model="activeName">
      <el-tab-pane label="基本信息" name="first">
        <basic/>
      </el-tab-pane>
      <el-tab-pane label="封面图片" name="second">
        <resource-image/>
      </el-tab-pane>
    </el-tabs>
  </div>
</template>
<script>
import Basic from './components/editResource/basic.vue'
import ResourceImage from './components/editResource/image.vue'
export default {
  components: {
    Basic,
    ResourceImage
  },
  data() {
    return {
      activeName: 'first'
    }
  }
}
</script>

<style lang="scss">
.editor-resource{
  padding:0 20px;
}
</style>
